package com.pig4cloud.pig.pigunit.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.pig4cloud.pig.pigunit.entity.Unit;

public interface UnitService extends IService<Unit> {
    Unit getByBuildingIdAndUnitName(Unit unit);

	Page<Unit> selectAll(Page<Unit> page, String unitName);

    void deleteById(Long[] ids);
}
